projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6ce6e
)
textbuffer: Remove check for GdkDrawable
author
Benjamin Otte
<otte@redhat.com>
Mon, 22 Nov 2010 16:56:34 +0000
(17:56 +0100)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 2 Dec 2010 19:21:02 +0000
(20:21 +0100)
This should only have been used for stipple patterns, and those are gone
now.
gtk/gtktextbufferserialize.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextbufferserialize.c
b/gtk/gtktextbufferserialize.c
index 16a36d3994a4d2cc60197d878cac702996c7e42f..526e9518aa9522ed3be4bea02ac8b07bb2095b5d 100644
(file)
--- a/
gtk/gtktextbufferserialize.c
+++ b/
gtk/gtktextbufferserialize.c
@@
-70,10
+70,6
@@
serialize_value (GValue *value)
return g_strdup_printf ("%x:%x:%x", color->red, color->green, color->blue);
}
- else if (g_type_is_a (value->g_type, GDK_TYPE_DRAWABLE))
- {
- /* Don't do anything */
- }
else
{
g_warning ("Type %s is not serializable\n", g_type_name (value->g_type));